<%--
    Document   : UsuarioComunMenu
    Created on : 01-may-2010, 18:53:14
    Author     : victor & Diego
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Menu de usuario</title>
         <style type="text/css">
          body {
                background-color: #000000;
                font-family: Arial, Helvetica, sans-serif, "Arial Narrow";
                font-weight: bold;
                color: #FFFFFF;
                font-size: 14px;
        }
        </style>
    </head>
    <body>
        <% if (request.getSession().getAttribute("Tipo")!="Comun")
         {
      %>
         <jsp:forward page="Welcome.do"/>
      <%
          }
      %>
         <h2>MENU USUARIO COMUN</h2>
         <br>
         Id Usuario:<%=request.getSession().getAttribute("Id")%>
         <br><h2><%=request.getSession().getAttribute("Nick")%>
       <br>Hola &nbsp;<%=request.getSession().getAttribute("Nombre")%>&nbsp;
         <%=request.getSession().getAttribute("Apellido")%></h2>

         <form action="ModificarPass.jsp">
             <input type="submit" value="Cambiar Contraseña" style="width:60%; background-color:#11FF00;font-weight:bold "> </form>

         <form action="AltaTemasVotos.jsp">
             <input type="hidden" name="Id" value=<%=request.getSession().getAttribute("Id")%> >
             <input type="submit" value="Votar" style="width:60%; background-color:#11FF00 ;font-weight:bold"> </form>

         <form action="ListadoVotosUComun.jsp">
             <input type="submit" value="Ver mis votos" style="width:60%; background-color:#11FF00 ;font-weight:bold"> </form>
    </body>
</html>